﻿#pragma once
// Inner Fire 游戏引擎库
// 纹理类
//
// Copyright (c) 2023 by 尔西大帝. All rights reserved.
//
// 用于纹理
//
// Author: 尔西大帝
// Email: 2670613871@qq.com
// Created: 2024-11-22

#include <dx_core/dx_core.h>
#include <array>

namespace ifire {

struct Texture {
  std::string Name;
  std::string Filename;
  ComPtr<ID3D12Resource> Resource = nullptr;
  ComPtr<ID3D12Resource> UploadHeap = nullptr;
};

std::array<const CD3DX12_STATIC_SAMPLER_DESC, 6> GetStaticSamplers();

} // namespace ifire